package com.cdtye.itps.cms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 检测监测一体化管理
 * @author wzw
 * @date 2023/5/10
 */
@SpringBootApplication(scanBasePackages = {"com.cdtye"})
@EnableDiscoveryClient
@EnableAsync
@MapperScan("com.cdtye.*.*.mapper")
public class ItpsCmsApplication {
    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(ItpsCmsApplication.class);
        springApplication.setAllowBeanDefinitionOverriding(true);
        springApplication.run(args);
    }

}
